package io.gitee.wminyu.day03.Homework;

public class Book3 {
    private int numble;
    private String name;
    private double price;

    public Book3() {
        numble = 9536;
        name = "茶花女";
        price = 37.21;
    }
    public double getPrice(){
        return price;
    }

    @Override
    public String toString() {
        return "Book3{" +
                "numble=" + numble +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
